#include <stdio.h>
#include <stdlib.h>
#include "errlib.h"

/* print error message and abort execution */
int
fatal(char * s)
{
	perror(s);
	exit(1);
}

/* print a warning message in stderr */
void
warn(char * s)
{
	fprintf(stderr, "warning: %s\n", s);
}
